<?php
class Validation_Url extends Validation {
	protected $message = "Lỗi: %element% không hợp lệ (e.g., http://www.ptcms.vn).";

	public function isValid($value) {
		if($this->isNotApplicable($value) || filter_var($value, FILTER_VALIDATE_URL))
			return true;
		return false;
	}
}
